import request from './request';

async function post(
  url: string,
  config: {
    data?: any;
    headers?: any;
    onProgress?: (e: Event) => void;
    requestList?: any[];
  },
) {
  return request({ url, method: 'post', ...config });
}

export default post;
